﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ResumeHelper
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);



            frmLogin frm = new frmLogin();
            frm.wb.Navigate(PublicObject.WEBURL_LOGIN_STARTUP_ADDRESS);
            while (true)
            {
                if (frm.IsOK == true)
                {
                    break;
                }

                System.Windows.Forms.Application.DoEvents();
            }
            if (frm.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new MainForm());
            }
        }
    }
}
